using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ELE.EnterpriseLibrary.Naming;

namespace ELE.EnterpriseLibrary.Test
{
  [TestClass]
  public class AspectsTestFixture : BaseFixture
  {
    /// <summary>
    /// This test method is used to test the functionality of the default context of type <see cref="INamingContext"/> created by using
    /// the default manager from the <see cref="NamingContextFactory"/>.
    /// </summary>
    [TestMethod]
    public void TestAspects()
    {
      try
      {

        AspectTargetExt targext = new AspectTargetExt();
        targext.substract(2, 1);
        targext.substract(3, 6);
        targext.substract(12, 12);
        targext.add(2, 1);
      }
      catch (Exception e)
      {
        Console.WriteLine(e.StackTrace);
        Assert.Fail("Test Failed due to : " + e.Message);
      }

    }
  }
}
